@import "base/base";

div.classmanger{
    padding-top: 20px;
    button.addClass{
        float: right;
        margin: 0px 8px;
        font-size: 0.8em;
        color: #fff;
        background-color: #FFA017;
        border-color: #FFA017;
        border-radius: 8px;
        padding: 5px 10px;
    }
    div.itemTitle{
        $iconWH : 24px;
        height: $iconWH;
        margin-top: 10px;
        cursor :pointer;
        img{
            float: left;
            width: $iconWH;
            height: $iconWH;
            @include transform(rotate(0deg));
            @include transition(transform 0.2s);
            &.rotate-90{
                @include transform(rotate(-90deg));
                @include transition(transform 0.2s);
            }
        }
        
        span{
            float: left;
            display: block;
            padding-left: 1em;
            line-height: $iconWH;
            font-size: 1.1em;
        }
    }
    
    ul.itemContent{
        margin-top: 20px;
        @media screen and (max-width: $screen-sm) {
            margin: 0 auto;
        }
        div.am-thumbnail{
            @include transition(all 0s);
            padding: 0;
            position: relative;
            img{
                padding: 5px;
                width: 100%;
            }
            span.className{
                top : 43px;
                left: 40px;
                font-size: 1.8em;
                position: absolute;
            }
            p.code{
                padding-left: 5px;
                margin: 3px auto;
                font-size: 0.95em;
                color: #272D33;
                span{
                    padding-left: 20px;
                    color: #F89C46;
                }
            }
            div.buttongroup{
                width: 100%;
                height: 35px;
                border-top: 1px #D5D5D5 solid;
                color: #272D33;
                div{
                    height: 100%;
                    width: 33.33%;
                    float: left;
                    border-left: 1px #D5D5D5 solid;
                    line-height: 35px;
                    font-size: 0.85em;
                    text-align: center;
                }
                div:first-child{
                    border-left: none;
                }
            }
        }
        
    }
}
div#addclass-modal,div#editclass_modal{
    div.am-modal-bd{
        p{
            height: 30px;
            line-height: 30px;
            padding-left: 10px;
            text-align: left;
            margin-bottom: 0;
            border-left: 3px #66CCFF solid;
        }
        div.am-form-group{
            select,input[type='text'],button{
                width: 90%;
            }
        }
    }
}
